package cnpm.dao;

import java.util.List;

import cnpm.entity.Bank;
import cnpm.entity.Department;
import cnpm.entity.Employee;
import cnpm.entity.Office;

public interface EmployeeDAO {

	public List<Employee> getAllEmployee();
	public Employee getEmployeeByID(String empID);
	public boolean saveOrUpdateEmployee(Employee e);
	public boolean deleteEmployee(Employee e);
	public boolean isExitEmail(String email);
	public boolean isExitIndentityCard(String indentityCard);
	public boolean isExitPhone(String phone);
	public boolean isExitAccountBank(String accountBank, Bank bank);
	public List<Employee> searchEmployee(String empFirstName, String empLastName, String empPhone, 
			Office empOffice, String empEmail, Department empDept);
}
